<script id="textEditTpl" type="text/html">
<div class="hhq-box" style="margin:20px;" id="text_edit">
    <div class="hhq-box-hd">富文本</div>

    <a class="layui-btn layui-btn-sm layui-btn-warm textEditSubmit" lay-submit lay-filter="textEditSubmit" style="float: right">保存设置</a>
    <div class="hhq-box-bd">
        <div class="layui-clear" id="textEditImgViewModuleParent">
            <div class="layui-form-item">
                <label class="layui-form-label">标题</label>
                <div class="layui-input-inline" style="width: 300px">
                    <input type="text" name="title" value="{{d.title}}" placeholder="" class="layui-input" >
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">内容</label>
                <div class="layui-input-block">
                    <textarea id="myEditor" name="content">{{d.content}}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">链接地址</label>
                <div class="layui-input-inline" style="width: 300px">
                    <input type="text" name="link" value="{{d.link}}" placeholder="http://" class="layui-input" >
                </div>
            </div>
        </div>
    </div>
</div>
</script>